package com.quectel.cms.vo.scheduling;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 在这里编写说明
 *
 * @author: bob
 * @email: bob.yu@quectel.com
 * @date: 2023-07-14 15:29:00
 */
@Data
@Schema
public class SchedulingAttendanceGroupSetFixShiftReq {

    @Schema(description = "考勤组id")
    @NotNull
    private Long schedulingAttendanceGroupId;

    @Schema(description = "提交的7天的时间段list")
    private List<ExecInfo> submitTimeList;


    /************ 内部类 start ************/
    @Data
    @Schema
    @AllArgsConstructor
    @NoArgsConstructor
    public static class ExecInfo implements Serializable {

        @Schema(description = "周1-周日 周一=2,周日=1")
        private Integer day;

        @Schema(description = "时间段")
        private List<Long> timeConfigIds;


    }
    /************ 内部类 end ************/


}
